package org.wlgzs.shop.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.wlgzs.shop.bean.OrderTransportData;
import org.wlgzs.shop.bean.OrderTransportDataExample;

public interface OrderTransportDataMapper {
    long countByExample(OrderTransportDataExample example);

    int deleteByExample(OrderTransportDataExample example);

    int deleteByPrimaryKey(Integer orderId);

    int insert(OrderTransportData record);

    int insertSelective(OrderTransportData record);

    List<OrderTransportData> selectByExample(OrderTransportDataExample example);

    OrderTransportData selectByPrimaryKey(Integer orderId);

    int updateByExampleSelective(@Param("record") OrderTransportData record, @Param("example") OrderTransportDataExample example);

    int updateByExample(@Param("record") OrderTransportData record, @Param("example") OrderTransportDataExample example);

    int updateByPrimaryKeySelective(OrderTransportData record);

    int updateByPrimaryKey(OrderTransportData record);

    List<OrderTransportData> allOrder();

    List<OrderTransportData> selectOrder2(String date);

    int updateByDate(OrderTransportData record);

    int upTwoDateByDate(OrderTransportData record);

    int upDateEndTime(@Param("endTime") String endTime,@Param("orderId")String orderId);

}